gtk4.git
10 years agocolorswatch: Don't pass _GENERIC_FALLBACK to API that doesn't support it
Timm Bäder [Sat, 31 Oct 2015 17:05:03 +0000 (18:05 +0100)]
colorswatch: Don't pass _GENERIC_FALLBACK to API that doesn't support it

10 years agogdk: Fix invalidation w/ pixel cache when changing child window geometry.
Alexander Larsson [Mon, 9 Nov 2015 14:14:57 +0000 (15:14 +0100)]
gdk: Fix invalidation w/ pixel cache when changing child window geometry.

When moving/scrolling a child window we can't use the current clip
region to limit what is invalidated, because there may be a pixel
cache that listens for changes outside the clip region. Instead
invalidate the entire area and rely on the invalidation code to limit
the repaint to the actually visible area.

10 years agotextdisplay: save/restore when using different state flags
Benjamin Otte [Mon, 9 Nov 2015 13:17:09 +0000 (14:17 +0100)]
textdisplay: save/restore when using different state flags

Also, never use gtk_widget_get_state_flags() when we want
gtk_style_context_get_state()

10 years agogtkwindow: Fix resize without "_GTK_FRAME_EXTENTS"
Olivier Fourdan [Mon, 9 Nov 2015 11:05:37 +0000 (12:05 +0100)]
gtkwindow: Fix resize without "_GTK_FRAME_EXTENTS"

git commit a5b1cdd0 introduced a regression where CSD windows are not
resizable with metacity.

Reason being that metacity does not support "_GTK_FRAME_EXTENTS" and
therefore gtk_window_supports_client_shadow() would always return FALSE.

This explains why it works with window managers which support
"_GTK_FRAME_EXTENTS" such as mutter/gnome-shell or xfwm4.

Partially revert commit a5b1cdd0 to reinstate the logic in
get_shadow_width().

Bugzilla: https://bugzilla.gnome.org/show_bug.cgi?id=757805

10 years agocontainer: Slightly reword some docs
Matthias Clasen [Mon, 9 Nov 2015 12:40:44 +0000 (07:40 -0500)]
container: Slightly reword some docs

Clarify gtk_container_remove documentation regarding reference
holding. Suggested in

https://bugzilla.gnome.org/show_bug.cgi?id=757607

10 years agotool item group: Use a CSS node for the arrow
Matthias Clasen [Mon, 9 Nov 2015 11:42:59 +0000 (06:42 -0500)]
tool item group: Use a CSS node for the arrow

This completes the transition for GtkToolItemGroup.

10 years agoHighContrast: Update notebook styling
Matthias Clasen [Mon, 9 Nov 2015 01:59:55 +0000 (20:59 -0500)]
HighContrast: Update notebook styling

Some fixes for arrows and for headers.

10 years agoAdwaita: Update notebook styling
Matthias Clasen [Sun, 8 Nov 2015 23:11:25 +0000 (18:11 -0500)]
Adwaita: Update notebook styling

Adapt to the changes in the previous commit.

10 years agonotebook: Use CSS nodes for arrows
Matthias Clasen [Sun, 8 Nov 2015 20:01:09 +0000 (15:01 -0500)]
notebook: Use CSS nodes for arrows

This converts the drawing of scroll arrows to use separate CSS
nodes.

10 years agoDon't use a transient node in gtk_render_arrow()
Matthias Clasen [Mon, 9 Nov 2015 01:27:22 +0000 (20:27 -0500)]
Don't use a transient node in gtk_render_arrow()

It is not necessary for the users of this API, and causes things
to not work as intended. Without this transient node, styling
"notebook header tabs arrow" has the desired effect on notebook
arrows.

10 years agowidget-factory: Add another notebook example
Matthias Clasen [Sat, 7 Nov 2015 18:17:17 +0000 (13:17 -0500)]
widget-factory: Add another notebook example

This example shows a scrollable notebook with action widgets.

10 years agoHighContrast: update notebook styling
Matthias Clasen [Sat, 7 Nov 2015 16:31:24 +0000 (11:31 -0500)]
HighContrast: update notebook styling

Adapt to the changes in the previous commit.

10 years agoAdwaita: Adapt notebook styling a bit
Matthias Clasen [Sat, 31 Oct 2015 14:25:50 +0000 (10:25 -0400)]
Adwaita: Adapt notebook styling a bit

This needs a lot more work.

10 years agonotebook: redo notebook styling
Matthias Clasen [Sat, 31 Oct 2015 14:23:40 +0000 (10:23 -0400)]
notebook: redo notebook styling

Add a header node, and put positional classes on it.

10 years agoplacesview: Don't export API
Benjamin Otte [Mon, 9 Nov 2015 00:44:01 +0000 (01:44 +0100)]
placesview: Don't export API

This is a private object, don't export its symbols.

https://bugzilla.gnome.org/show_bug.cgi?id=756978

10 years agocssnode: Propagate NTH_LAST_CHILD changes properly
Benjamin Otte [Mon, 9 Nov 2015 00:42:41 +0000 (01:42 +0100)]
cssnode: Propagate NTH_LAST_CHILD changes properly

We were just catching the previous sibling before. Now we properly
invalidate all previous siblings (and also all other wiblings, but we
can think about optimizing that later).

10 years agocsstypes: Propagate NTH_CHILD and NTH_LAST_CHILD to siblings
Benjamin Otte [Mon, 9 Nov 2015 00:38:39 +0000 (01:38 +0100)]
csstypes: Propagate NTH_CHILD and NTH_LAST_CHILD to siblings

Otherwise, we'd have to mark eveyr child on changes, and it's far easier
to do that once we actually validate.

10 years agobox: Refactor CSS node handling
Benjamin Otte [Mon, 9 Nov 2015 00:29:56 +0000 (01:29 +0100)]
box: Refactor CSS node handling

Only update the node that changed, don't invalidate everything.

10 years agobox: Don't track children visibility
Benjamin Otte [Sat, 7 Nov 2015 19:23:44 +0000 (20:23 +0100)]
box: Don't track children visibility

It's not necessary anymore with css nodes.

10 years agotestutils: Add deprecation guards
Benjamin Otte [Sat, 7 Nov 2015 19:13:09 +0000 (20:13 +0100)]
testutils: Add deprecation guards

10 years agoMove gtk_builder_extend_with_template to public header
Matthias Clasen [Mon, 9 Nov 2015 00:19:20 +0000 (19:19 -0500)]
Move gtk_builder_extend_with_template to public header

We export the symbol, so we should not hide it in private
headers.

10 years agoDocument gtk_builder_extend_wth_template
Matthias Clasen [Sun, 8 Nov 2015 23:40:35 +0000 (18:40 -0500)]
Document gtk_builder_extend_wth_template

10 years agoUpdated Hungarian translation
Gábor Kelemen [Sun, 8 Nov 2015 22:49:12 +0000 (22:49 +0000)]
Updated Hungarian translation

10 years agoUpdated Hungarian translation
Balázs Meskó [Sat, 7 Nov 2015 14:43:13 +0000 (14:43 +0000)]
Updated Hungarian translation

10 years agoUpdated Hungarian translation
Balázs Meskó [Sat, 7 Nov 2015 14:40:53 +0000 (14:40 +0000)]
Updated Hungarian translation

10 years agoAdwaita: Update print dialog styling
Matthias Clasen [Sat, 7 Nov 2015 05:58:00 +0000 (00:58 -0500)]
Adwaita: Update print dialog styling

Adapt to the changes in the previous commit. With the changes here,
we always render the paper as white, even in the dark theme.

10 years agoprint dialog: Use an element name for rendering the paper
Matthias Clasen [Sat, 7 Nov 2015 05:57:03 +0000 (00:57 -0500)]
print dialog: Use an element name for rendering the paper

Use a transient node with name paper instead of a random
collection of style classes for rendering the papers.

10 years agoAdwaita: Update expander styling
Matthias Clasen [Sat, 7 Nov 2015 05:42:37 +0000 (00:42 -0500)]
Adwaita: Update expander styling

Adapt to the changes in the previous commit.

10 years agoepxander: Port to CSS nodes
Matthias Clasen [Sat, 7 Nov 2015 05:40:28 +0000 (00:40 -0500)]
epxander: Port to CSS nodes

Use CSS nodes with name expander and arrow here.

10 years agoscrolledwindow: Document overlay scrolling style classes
Matthias Clasen [Sat, 7 Nov 2015 04:35:20 +0000 (23:35 -0500)]
scrolledwindow: Document overlay scrolling style classes

Document which style classes are used on scrollbars to
implement overlay scrolling.

10 years agoscrolledwindow: Set positional classes on scrollbars
Matthias Clasen [Sat, 7 Nov 2015 04:28:22 +0000 (23:28 -0500)]
scrolledwindow: Set positional classes on scrollbars

This might be useful for some themes.

10 years agoscrolled window: Drop unnecessary transient nodes
Matthias Clasen [Sat, 7 Nov 2015 03:58:08 +0000 (22:58 -0500)]
scrolled window: Drop unnecessary transient nodes

We already add the .frame style class to the context depending
on the shadow property. No need to save the context and add it
again all the time.

10 years agowindow: Don't pass wrong state to context
Matthias Clasen [Sat, 7 Nov 2015 03:47:16 +0000 (22:47 -0500)]
window: Don't pass wrong state to context

GtkStyleContext warns nowadays if one queries properties
from a different state. So, don't do that.

10 years agorange: Fixes to the new trough rendering
Matthias Clasen [Sat, 7 Nov 2015 03:24:20 +0000 (22:24 -0500)]
range: Fixes to the new trough rendering

There was an errant y that caused some troughs to not be drawn.
And also set the state of the fill node.

10 years agoscale: Document the new CSS nodes
Matthias Clasen [Sat, 7 Nov 2015 00:38:50 +0000 (19:38 -0500)]
scale: Document the new CSS nodes

10 years agonotebook: Fix copy/paste error
Benjamin Otte [Sat, 7 Nov 2015 00:45:35 +0000 (01:45 +0100)]
notebook: Fix copy/paste error

This is from the recent commit 2a1a483edef1c94a795855dec08d91a4421ceb13

10 years agoAdwaita: Update range styling
Matthias Clasen [Sat, 7 Nov 2015 00:28:56 +0000 (19:28 -0500)]
Adwaita: Update range styling

Adapt to the new CSS nodes for trough rendering. This commit
also brings back visible fill-level rendering for scales, which
was not working for a while. The styling provided for that
(scale trough fill) is just a placeholder to aid in debugging
the implementation.

10 years agorange: Use CSS nodes for all trough rendering
Matthias Clasen [Sat, 7 Nov 2015 00:25:58 +0000 (19:25 -0500)]
range: Use CSS nodes for all trough rendering

This replaces the somewhat freewheeling use of style classes to
render a part of the trough highlighted and show a fill level.

10 years agoUpdate mac key theme for css changes
Matthias Clasen [Fri, 6 Nov 2015 20:20:01 +0000 (15:20 -0500)]
Update mac key theme for css changes

Use the element names for widgets.

10 years agoUpdate emacs key theme for css changes
Matthias Clasen [Fri, 6 Nov 2015 20:19:36 +0000 (15:19 -0500)]
Update emacs key theme for css changes

Use the element names for widgets.

10 years agostylecontext: Always warn on style mismatch
Benjamin Otte [Fri, 6 Nov 2015 17:57:24 +0000 (18:57 +0100)]
stylecontext: Always warn on style mismatch

For now, always warn when
gtk_style_context_get()/get_padding()/get_margin()/get_border()
get called with the wrong state.

We used to hide this behind an env var because the warnings were
too frequent, but with the recent refactorings, this warning has become
rather important for detecting bugs.

If it's still problematic, we might want to revert this patch before
3.20.

10 years agorange: Use right state when querying margin
Benjamin Otte [Fri, 6 Nov 2015 17:53:46 +0000 (18:53 +0100)]
range: Use right state when querying margin

10 years agonotebook: Query the right node's padding
Benjamin Otte [Fri, 6 Nov 2015 17:52:13 +0000 (18:52 +0100)]
notebook: Query the right node's padding

10 years agospinbutton: Use right state when querying padding
Benjamin Otte [Fri, 6 Nov 2015 17:49:26 +0000 (18:49 +0100)]
spinbutton: Use right state when querying padding

10 years agorange: Update trough state
Matthias Clasen [Fri, 6 Nov 2015 16:53:42 +0000 (11:53 -0500)]
range: Update trough state

It might make sense for the theme to render an insensitive trough
differently.

10 years agopopover: Don't create transient CSS nodes
Matthias Clasen [Fri, 6 Nov 2015 14:26:25 +0000 (09:26 -0500)]
popover: Don't create transient CSS nodes

There is no need to save the style context here.

10 years agoCosmetic: Use defines for style classes
Matthias Clasen [Fri, 6 Nov 2015 12:57:03 +0000 (07:57 -0500)]
Cosmetic: Use defines for style classes

10 years agorange: Document fine-tuning style class use
Matthias Clasen [Fri, 6 Nov 2015 12:51:15 +0000 (07:51 -0500)]
range: Document fine-tuning style class use

10 years agoacccellabel: Use right state when querying font
Benjamin Otte [Fri, 6 Nov 2015 15:34:09 +0000 (16:34 +0100)]
acccellabel: Use right state when querying font

This was causing permanent invalidations otherwise because drawing
causes the state of the accel node to change.

10 years agoAdwaita: Update scale styling
Matthias Clasen [Fri, 6 Nov 2015 12:04:14 +0000 (07:04 -0500)]
Adwaita: Update scale styling

Use :first-child/:last-child on the trough for determining
which slider we need.

10 years agoscale: Stop using style classes for marks
Matthias Clasen [Fri, 6 Nov 2015 12:01:42 +0000 (07:01 -0500)]
scale: Stop using style classes for marks

We can use :first/last-child for this now.

10 years agoAdwaita: Fix up filechooser styling
Matthias Clasen [Fri, 6 Nov 2015 04:42:19 +0000 (23:42 -0500)]
Adwaita: Fix up filechooser styling

Several details of sidebar and places view styling were lost
along the way. Bring back the circular buttons.

10 years agoplaces view: Remvoe some unused style classes
Matthias Clasen [Fri, 6 Nov 2015 04:43:32 +0000 (23:43 -0500)]
places view: Remvoe some unused style classes

These style classes were not used in Adwaita, and didn't make
any difference for the appearance.

10 years agoplaces view: Add an element name
Matthias Clasen [Fri, 6 Nov 2015 04:41:42 +0000 (23:41 -0500)]
places view: Add an element name

Use placesview as the element name.

10 years agoAdwaita: Redo combo box entry styling
Matthias Clasen [Fri, 6 Nov 2015 00:15:43 +0000 (19:15 -0500)]
Adwaita: Redo combo box entry styling

Instead of relying on .linked or + (which doesn't work right in rtl),
use :not(:only-child) to select a button that is not alone inside a
combobox.

10 years agocombobox: Don't add .linked
Matthias Clasen [Fri, 6 Nov 2015 00:14:38 +0000 (19:14 -0500)]
combobox: Don't add .linked

It interferes with getting the desired styling for combo boxes
with an entry, and is not needed.

10 years agoFix a typo
Matthias Clasen [Thu, 5 Nov 2015 23:00:51 +0000 (18:00 -0500)]
Fix a typo

10 years agoUpdated POTFILES.in
Piotr Drąg [Fri, 6 Nov 2015 00:05:00 +0000 (01:05 +0100)]
Updated POTFILES.in

10 years agowindow: Add a diagram to the CSS documentation
Matthias Clasen [Thu, 5 Nov 2015 21:13:06 +0000 (16:13 -0500)]
window: Add a diagram to the CSS documentation

10 years agoAdwaita: Update window styling
Matthias Clasen [Thu, 5 Nov 2015 21:07:29 +0000 (16:07 -0500)]
Adwaita: Update window styling

We no longer inherit the style classes on the decoration subnodes,
so we have to adjust some selectors.

10 years agowindow: Use permanent CSS nodes
Matthias Clasen [Thu, 5 Nov 2015 21:06:49 +0000 (16:06 -0500)]
window: Use permanent CSS nodes

gtk_style_context_save_named() has drawbacks that we want to avoid.

10 years agotool button: Add element names for tool item subclasses
Matthias Clasen [Thu, 5 Nov 2015 20:41:37 +0000 (15:41 -0500)]
tool button: Add element names for tool item subclasses

Add the obvious names to the CSS nodes of GtkRadioToolButton,
GtkToggleToolButton and GtkSeparatorToolItem.

10 years agoflowbox: Add element names
Matthias Clasen [Thu, 5 Nov 2015 20:23:44 +0000 (15:23 -0500)]
flowbox: Add element names

The names used here are flowbox and flowboxchild.

10 years agoAdwaita: Update listbox styling
Matthias Clasen [Thu, 5 Nov 2015 18:53:43 +0000 (13:53 -0500)]
Adwaita: Update listbox styling

Adapt to the changes in the previous commit.

10 years agoplacessidebar: Use the same element name for rows
Matthias Clasen [Thu, 5 Nov 2015 18:51:58 +0000 (13:51 -0500)]
placessidebar: Use the same element name for rows

Use row as the element name here too.

10 years agolistbox: Add element names
Matthias Clasen [Thu, 5 Nov 2015 18:48:02 +0000 (13:48 -0500)]
listbox: Add element names

The names used here are list and row.

10 years agoaspect frame: Use an element name
Matthias Clasen [Thu, 5 Nov 2015 17:53:46 +0000 (12:53 -0500)]
aspect frame: Use an element name

10 years agoplaces sidebar: Document style classes
Matthias Clasen [Thu, 5 Nov 2015 15:51:54 +0000 (10:51 -0500)]
places sidebar: Document style classes

Document the style classes that GtkPlacesSidebar uses on its rows.

10 years agogtk3-demo: Add open file to the application demo
Alexander Larsson [Thu, 5 Nov 2015 15:25:59 +0000 (16:25 +0100)]
gtk3-demo: Add open file to the application demo

10 years agodocs: Move GtkNativeDialog section to "abstract base classes"
Alexander Larsson [Thu, 5 Nov 2015 14:59:08 +0000 (15:59 +0100)]
docs: Move GtkNativeDialog section to "abstract base classes"

10 years agoMention native file choosers in NEWS
Alexander Larsson [Thu, 5 Nov 2015 14:18:57 +0000 (15:18 +0100)]
Mention native file choosers in NEWS

10 years agotestgtk: Add native dialog tests
Alexander Larsson [Mon, 2 Nov 2015 15:19:02 +0000 (16:19 +0100)]
testgtk: Add native dialog tests

10 years agoGtkFileChooserButton: Use native dialogs
Alexander Larsson [Thu, 29 Oct 2015 14:13:14 +0000 (15:13 +0100)]
GtkFileChooserButton: Use native dialogs

Unless you explicitly set the dialog constructor property we use a
native dialog (GtkFileChooserNative).

10 years agoGtkFileChooserNative: Fallback and win32 implementation
Alexander Larsson [Thu, 29 Oct 2015 14:06:57 +0000 (15:06 +0100)]
GtkFileChooserNative: Fallback and win32 implementation

This is a subclass on GtkNativeDialog that uses GtkFileChooserDialog
as a fallback, but also has support for the win32 file chooser dialog.

10 years agoGtkFileFilter: Add private function to represent filter as pattern
Alexander Larsson [Tue, 3 Nov 2015 13:52:42 +0000 (14:52 +0100)]
GtkFileFilter: Add private function to represent filter as pattern

This will be needed for the win32 native file chooser which
does not support mimetype sniffing.

10 years agoAdd GtkNativeDialog abstract base class
Alexander Larsson [Thu, 29 Oct 2015 13:59:48 +0000 (14:59 +0100)]
Add GtkNativeDialog abstract base class

This is a base class that essentially mirrors GtkDialog, but
it is not a GtkWindow, as the actual implemetation will be using
native code.

The base class has show and hide vfuncs, as well as a helper function
to run the dialog in a modal fashion.

This will be later used by the native file chooser dialog.

10 years agoMake GtkFileChooser interface require a GObject
Alexander Larsson [Thu, 29 Oct 2015 13:55:48 +0000 (14:55 +0100)]
Make GtkFileChooser interface require a GObject

Before all GtkFileChooser implementations had to be a GtkWidget,
but we want to introduce one for native implementations that
is not a widget.

This is technically an ABI break, because some code could rely
on the guarantee that GtkFileChoosers are GtkWidgets and do
unchecked GtkWidget calls. However, that does seem unlikely,
and this has not really been documented anywhere.

10 years agoTreeModelFilter: Fix uninitialized memory read.
Alexander Larsson [Thu, 29 Oct 2015 14:17:44 +0000 (15:17 +0100)]
TreeModelFilter: Fix uninitialized memory read.

We were copying an iterator that sometimes was not initialized,
which caused debugger warnings in VS2015.

10 years agoHighContrast: Update places sidebar styling
Matthias Clasen [Thu, 5 Nov 2015 15:41:53 +0000 (10:41 -0500)]
HighContrast: Update places sidebar styling

Use the new element name.

10 years agoAdwaita: Update places sidebar styling
Matthias Clasen [Thu, 5 Nov 2015 15:38:01 +0000 (10:38 -0500)]
Adwaita: Update places sidebar styling

Use the new element name.

10 years agoplacessidebar: Use an element name
Matthias Clasen [Thu, 5 Nov 2015 15:36:17 +0000 (10:36 -0500)]
placessidebar: Use an element name

Set the element name placessidebar.

10 years agoscrolledwindow: Use permanent CSS nodes
Matthias Clasen [Thu, 5 Nov 2015 15:32:04 +0000 (10:32 -0500)]
scrolledwindow: Use permanent CSS nodes

This avoids false inheritance due to gtk_style_context_save_named(),
and is generally the right thing to do.

10 years agoFix a crash with steppers
Matthias Clasen [Thu, 5 Nov 2015 14:41:10 +0000 (09:41 -0500)]
Fix a crash with steppers

The introduction of the trough node was not properly carried
into the code constructing stepper nodes, and was causing
assertion failures there. This was only showing up on Windows,
since Adwaita and HighContrast don't have steppers.

10 years agogtk3-demo: Drop .sidebar class
Matthias Clasen [Thu, 5 Nov 2015 14:09:33 +0000 (09:09 -0500)]
gtk3-demo: Drop .sidebar class

This makes no visual difference at all, and the .sidebar class
is causing some complications with the current CSS node transition.

10 years agostack sidebar: Remove an unused variable
Matthias Clasen [Thu, 5 Nov 2015 14:08:20 +0000 (09:08 -0500)]
stack sidebar: Remove an unused variable

10 years agocheckmenuitem: Update CSS nodes on set_active()
Benjamin Otte [Thu, 5 Nov 2015 14:22:05 +0000 (15:22 +0100)]
checkmenuitem: Update CSS nodes on set_active()

The function only doesn't notify(). It is supposed to handle CSS
changes.

10 years agostack: Store actual widget size, not preferred size
Benjamin Otte [Thu, 5 Nov 2015 03:06:09 +0000 (04:06 +0100)]
stack: Store actual widget size, not preferred size

This is just a cleanup commit, no actual bug.

10 years agowidget: Avoid critical warnings when disconnecting plain GtkEventControllers
Carlos Garnacho [Thu, 5 Nov 2015 12:13:37 +0000 (13:13 +0100)]
widget: Avoid critical warnings when disconnecting plain GtkEventControllers

This signal is only set on GtkGesture objects, so check it's really there
before disconnecting.

10 years agoAdwaita: Update stack sidebar styling
Matthias Clasen [Thu, 5 Nov 2015 13:18:38 +0000 (08:18 -0500)]
Adwaita: Update stack sidebar styling

We no longer use the .sidebar-item style class.

10 years agostack sidebar: Drop the .sidebar-item style class
Matthias Clasen [Thu, 5 Nov 2015 13:18:06 +0000 (08:18 -0500)]
stack sidebar: Drop the .sidebar-item style class

It is not needed to achieve the desired theming.

10 years agostack switcher: Clarify CSS documentation
Matthias Clasen [Thu, 5 Nov 2015 13:17:49 +0000 (08:17 -0500)]
stack switcher: Clarify CSS documentation

10 years agoHighContrast: Update filechooser styling
Matthias Clasen [Thu, 5 Nov 2015 12:45:39 +0000 (07:45 -0500)]
HighContrast: Update filechooser styling

Update for changes in previous commit.

10 years agoAdwaita: Update searchbar styling
Matthias Clasen [Thu, 5 Nov 2015 12:44:29 +0000 (07:44 -0500)]
Adwaita: Update searchbar styling

Adapt to the changes in the previous commit.

10 years agosearchbar: Stop adding a style class
Matthias Clasen [Thu, 5 Nov 2015 12:44:04 +0000 (07:44 -0500)]
searchbar: Stop adding a style class

We have an element name now.

10 years agofile chooser: Don't use .search-bar for a box
Matthias Clasen [Thu, 5 Nov 2015 12:40:48 +0000 (07:40 -0500)]
file chooser: Don't use .search-bar for a box

Just use the more general .view class to avoid special-casing
the file chooser in the theme.

10 years agorange: Redraw when slider visiblity changes
Matthias Clasen [Thu, 5 Nov 2015 12:23:54 +0000 (07:23 -0500)]
range: Redraw when slider visiblity changes

We were not queuing a draw (and not updating the CSS node) when
the slider visibility changed. This was exposed by the Trough
button in tests/testscale.
Fix this by taking slider visibility into account when deciding
whether to queue a draw in response to adjustment changes.

10 years agoHighContrast: Update scale styling
Matthias Clasen [Thu, 5 Nov 2015 12:01:57 +0000 (07:01 -0500)]
HighContrast: Update scale styling

10 years agoAdwaita: Update scale styling
Matthias Clasen [Thu, 5 Nov 2015 11:46:31 +0000 (06:46 -0500)]
Adwaita: Update scale styling

Adapt to the introduction of trough nodes.

10 years agoscale: Split marks node into two
Matthias Clasen [Thu, 5 Nov 2015 11:45:24 +0000 (06:45 -0500)]
scale: Split marks node into two

Use separate CSS nodes for the marks above and below the trough.

10 years agorange: Add private api to get the trough node
Matthias Clasen [Thu, 5 Nov 2015 11:47:10 +0000 (06:47 -0500)]
range: Add private api to get the trough node

This will be needed in range subclasses to position their
own subnodes.